<!-- 主页-报价协议 -->
<section id="container">
	<!--main content start-->
	<section id="main-content">
		<section class="wrapper">
			<!--state overview end-->
			<div class="row">
				<div class="col-lg-12">

					<section class="panel">
						<header class="panel-heading">
							报价协议
							<i class="button-next icon-plus" onclick="addNo();"> 新增</i>
						</header>
						<div class="panel-body">
							<!-- <div class="mail-option">
								<div class="btn-group pull-left">
									<label>请购单编号：</label>
								</div>
								<div class="btn-group pull-left">
									<div id="paramt">
										<input type="text" value="" id="purchaseNoId" class="form-control" placeholder="请购单编号">
									</div>
								</div>
								<div class="btn-group pull-left">
									<button class="btn btn-info psearch" ng-click="searchByPurchaseNo()">搜索</button>
								</div>
								<div class="btn-group pull-left">
									<select ng-model="statProcess" class="form-control ng-pristine ng-valid ng-not-empty ng-touched"
										ng-change="stateChange()">
										<option ng-repeat="x in select" value="{{x.code}}">
											{{x.name}}
										</option>
									</select>
								</div>
							</div> -->


							<div class="row">
									<div class="col-lg-3">
										<div class="input-group m-bot15">
											<span class="input-group-addon">请购单</span>
											<div class="paramt">
												<input type="text" id="purchaseNoId" class="form-control"
													style="border-top-right-radius:4px;border-bottom-right-radius:4px;" placeholder="请购单编号">
											</div>
										</div>
									</div>
									<div class="col-lg-2">
										<div class="input-group m-bot15">
											<span class="input-group-addon" style="position: relative;z-index: 2;">审批状态</span>
											<select style="position: relative;margin-left:-4px;text-indent:4px;" ng-model="statProcess"
												class="form-control ng-pristine ng-valid ng-not-empty ng-touched" ng-change="stateChange()">
												<option ng-repeat="x in select" value="{{x.code}}">
													{{x.name}}
												</option>
											</select>
										</div>
									</div>
									<div class="col-lg-3">
										<button class="btn btn-info psearch" ng-click="searchByPurchaseNo()"
											style="margin-bottom:15px;">搜索</button>
									</div>
								</div>


							<div id="agreementContainer" class="dlshouwen-grid-container"></div>
							<div id="agreementToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</section>

					<!-- Modal -->
					<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
						aria-hidden="true">
						<div class="modal-dialog">
							<div class="modal-content">
								<section class="panel">
									<div class="panel-heading add-heading">
										文件列表
										<i class="add-icon icon-remove" data-dismiss="modal" aria-hidden="true"></i>
									</div>
									<div class="panel-body">
										<p>点击 <a onclick="downLoad(this)" class="down-icon">文件名测试数据.txt</a> 下载!
											2018-01-02 16:55</p>
										<input class="fileDownloadPath" value="{{fileId}}" type="hidden" />
									</div>
									<div class="panel-bg"></div>
								</section>
							</div>
							<!-- /.modal-content -->
						</div>
						<!-- /.modal-dialog -->
					</div>
					<!-- /.modal -->
				</div>
			</div>
		</section>
	</section>
	<!--main content end-->
</section>

<script type="text/javascript" src="js/agreement/agreement.js"></script>